﻿#region 信息

// Copyright©2014 Rex Rao all rights reserved.
// File name : Mojito\Mojito.Service\IOrderService.cs
// Author : Sohobloo
// Create time : 2014/09/02 9:55
// Update time : 2014/09/02 10:53

#endregion

#region 引用

using System;
using System.Collections.Generic;
using Mojito.Entity;
using Sohobloo.SoCommon;

#endregion

namespace Mojito.Service
{
    public interface IOrderService
    {
        Order GetOrder(Guid orderId);

        IList<Order> GetCurrentOrderList();

        OperationResult CreateOrder();

        OperationResult UpdateOrder(OrderUpdateParams parameters);

        OperationResult DeleteOrder(Guid orderId);

        OperationResult AddOrderDishes(Guid orderId, IList<Guid> dishIds);

        OperationResult UpdateOrderDish(Guid orderDishId, OrderDishStatus orderDishStatus);

        OperationResult DeleteOrderDishes(IList<Guid> orderDishIds);

        OperationResult EnterAccount(Guid orderId);
    }
}